<?php
	include("../Action/config.php");
	// $json = urldecode(file_get_contents("php://input"));
	// $arrayJson = json_decode($json,true);
// 
	// $child_num = $arrayJson['child_num'];
	
	$child_num = $_GET['child_num'];

	$sql = "SELECT free_time FROM CHILD WHERE child_num=$child_num";
	$result = mysql_query($sql);
	
	$row = mysql_fetch_array($result);
	
	echo $row['free_time'];	
	

	// $sql = "DELETE FROM CHILD WHERE parent_num = '$parent_num' AND child_name='$child_name'";
	// $result = mysql_query($sql);

	// if ($result == '1') {
	// 	echo "success";
	// } else {
	// 	echo $result;	
	// }
?>
